<?php
/**
 * Copyright (c) 2018-2019.
 *  This file is part of the moonpie production
 *  (c) johnzhang <875010341@qq.com>
 *  This source file is subject to the MIT license that is bundled
 *  with this source code in the file LICENSE.
 */

return [
    'wechat_account_container' => [
        'title' => '公众号管理容器',
        'menu_name' => 'wechat_account',
    ],
    'wechat_account.profile_index' => [
        'title' => '公众号首页',
        'description' => '公众号首页管理',
        'title callback' => '',
        'title arguments' => [],
        'icon' => 'icon-home',
        'icon callback' => '',
        'icon arguments' => [],
        'route name' => 'backend.wechat_account_manage',
        'parent' => 'wechat_account_container',
        'route parameters' => ['account_id'],
        'weight' => 0,
    ],

    'wechat_account.admin_config' => [
        'title' => '公众号配置',
        'parent' => 'backend.basic',
        'route name' => 'backend.basic_wechat_account_config',
    ],
    'wechat_account.profile_template' => [
        'title' => '模板消息',
        'icon' => 'icon-guanliyuan',
        'parent' => 'wechat_account_container',
        'default link' => 'wechat_account.profile_template_list',
    ],
    'wechat_account.profile_template_list' => [
        'title' => '模板消息列表',
        'icon' => 'icon-guanliyuan',
        'route name' => 'wechat_account.admin_template_list',
        'route parameters' => ['account_id'],
        'parent' => 'wechat_account.profile_template',
        'weight' => 0,
    ],
    'wechat_account.profile_template_config_list' => [
        'title' => '模板消息配置',
        'icon' => 'icon-rise',
        'route name' => 'wechat_account.admin_template_config_list',
        'route parameters' => ['account_id'],
        'parent' => 'wechat_account.profile_template',
        'weight' => 0,
    ],
    //公众号用户处理部分
    'wechat_account.profile_fans' => [
        'title' => '粉丝管理',
        'icon' => 'icon-user',
        'parent' => 'wechat_account_container',
        'default link' => 'wechat_account.profile_fans_list',
    ],
    'wechat_account.profile_fans_list' => [
        'title' => '粉丝列表',
        'icon' => 'icon-user',
        'route name' => 'wechat_account.admin_fans_list',
        'route parameters' => ['account_id'],
        'parent' => 'wechat_account.profile_fans',
        'weight' => 0,
    ],
];